package com.example.course.service;

import com.example.course.dto.admin.AdminCategoryRemoveDto;
import com.example.course.dto.admin.AdminCategorySaveDto;
import com.example.course.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.course.utils.common.result.Result;

/**
* @author 24354
* @description 针对表【category】的数据库操作Service
* @createDate 2024-03-15 15:14:26
*/
public interface CategoryService extends IService<Category> {

    Result saveCategory(AdminCategorySaveDto dto);

    Result removeCategory(Long id);

    Result getAdminCategory(AdminCategoryRemoveDto dto);
}
